package com.its.oa.model;

import java.util.Date;;

/**
 * Repair entity. @author MyEclipse Persistence Tools
 */

public class Repair implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Asset asset;
	private User userByApply;
	private User userByEvaluate;
	private String content;
	private String cause;
	private String provide;
	private Integer cost;
	private String result;
	private Date repairtime;
	private String degree;

	// Constructors

	/** default constructor */
	public Repair() {
	}

	/** full constructor */
	public Repair(Asset asset, User userByApply, User userByEvaluate,
			String content, String cause, String provide, Integer cost,
			String result, Date repairtime, String degree) {
		this.asset = asset;
		this.userByApply = userByApply;
		this.userByEvaluate = userByEvaluate;
		this.content = content;
		this.cause = cause;
		this.provide = provide;
		this.cost = cost;
		this.result = result;
		this.repairtime = repairtime;
		this.degree = degree;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Asset getAsset() {
		return this.asset;
	}

	public void setAsset(Asset asset) {
		this.asset = asset;
	}

	public User getUserByApply() {
		return this.userByApply;
	}

	public void setUserByApply(User userByApply) {
		this.userByApply = userByApply;
	}

	public User getUserByEvaluate() {
		return this.userByEvaluate;
	}

	public void setUserByEvaluate(User userByEvaluate) {
		this.userByEvaluate = userByEvaluate;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCause() {
		return this.cause;
	}

	public void setCause(String cause) {
		this.cause = cause;
	}

	public String getProvide() {
		return this.provide;
	}

	public void setProvide(String provide) {
		this.provide = provide;
	}

	public Integer getCost() {
		return this.cost;
	}

	public void setCost(Integer cost) {
		this.cost = cost;
	}

	public String getResult() {
		return this.result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Date getRepairtime() {
		return this.repairtime;
	}

	public void setRepairtime(Date repairtime) {
		this.repairtime = repairtime;
	}

	public String getDegree() {
		return this.degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

}